package com.woniu.sharepark.leasesystem.common.pojo;

import com.woniu.sharepark.leasesystem.lessor.pojo.CarPark;
import com.woniu.sharepark.platformsystem.pojo.Voucher;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单信息实体类
 * @author xin
 * @date 2019/6/1 11:42
 */
public class OrderForm implements Serializable{
    private Integer oId;

    private Date oTime;

    private String oNumber;

    private Integer carId;

    private Integer cId;

    private String oStatus;

    private Integer oDuration;

    private Double oTotalmoney;

    private Integer oFlag;

    private Date oEndtime;

    private Voucher voucher;

    private CarPark carPark;

    private Integer voucherId;

    public Integer getVoucherId() {
        return voucherId;
    }

    public void setVoucherId(Integer voucherId) {
        this.voucherId = voucherId;
    }

    public CarPark getCarPark() {
        return carPark;
    }

    public void setCarPark(CarPark carPark) {
        this.carPark = carPark;
    }

    public Voucher getVoucher() {
        return voucher;
    }

    public void setVoucher(Voucher voucher) {
        this.voucher = voucher;
    }

    public Date getoEndtime() {
        return oEndtime;
    }

    public void setoEndtime(Date oEndtime) {
        this.oEndtime = oEndtime;
    }

    public Integer getoId() {
        return oId;
    }

    public void setoId(Integer oId) {
        this.oId = oId;
    }

    public Date getoTime() {
        return oTime;
    }

    public void setoTime(Date oTime) {
        this.oTime = oTime;
    }

    public String getoNumber() {
        return oNumber;
    }

    public void setoNumber(String oNumber) {
        this.oNumber = oNumber;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }

    public String getoStatus() {
        return oStatus;
    }

    public void setoStatus(String oStatus) {
        this.oStatus = oStatus;
    }

    public Integer getoDuration() {
        return oDuration;
    }

    public void setoDuration(Integer oDuration) {
        this.oDuration = oDuration;
    }

    public Double getoTotalmoney() {
        return oTotalmoney;
    }

    public void setoTotalmoney(Double oTotalmoney) {
        this.oTotalmoney = oTotalmoney;
    }

    public Integer getoFlag() {
        return oFlag;
    }

    public void setoFlag(Integer oFlag) {
        this.oFlag = oFlag;
    }

    @Override
    public String toString() {
        return "OrderForm{" +
                "oId=" + oId +
                ", oTime=" + oTime +
                ", oNumber='" + oNumber + '\'' +
                ", carId=" + carId +
                ", cId=" + cId +
                ", oStatus='" + oStatus + '\'' +
                ", oDuration=" + oDuration +
                ", oTotalmoney=" + oTotalmoney +
                ", oFlag=" + oFlag +
                ", oEndtime=" + oEndtime +
                ", voucher=" + voucher +
                ", carPark=" + carPark +
                '}';
    }
}